home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / clonecd / September 93.img / Archives / Utilities / Disk & File / File / File Open Utilities / Felix / Double-click me next >
Text File  |  1993-06-21  |  5KB  |  68 lines

  1. Felix
  2. Version 1.0 ß
  3. by François Pottier
  4.  
  5. WHAT IS FELIX ?
  6. Felix is a system extension that allows you, when double-clicking on a document, to choose which application you want to use to open it. All you have to do is to maintain the Control key down while double-clicking. You will then be presented with a Standard File dialog prompting you for an application. The application you choose will then be launched and asked to open the document. If you choose "Cancel" in this dialog, the default (i.e. usual) application will be used.
  7.  
  8. This is already possible by drag'n dropping. But often my desktop is so cluttered with windows that I find myself totally unable to do it.
  9.  
  10. Felix is useful in many situations. For example, there are a lot of text files with exotic creators out there. Instead of having to change the file type to your favorite text editor's (e.g. TeachText ;-), you would just Control-double-click on the file and choose TeachText.
  11.  
  12. It is also possible to choose an alias for an application. It will be automatically resolved.
  13.  
  14. WHAT ARE THE SYSTEM REQUIREMENTS ?
  15. Felix requires System 7 to work. It doesn't check the system version though, so don't try to run it with system 6.
  16. Felix is very small (about 6 kilobytes on disk and less than 512 bytes of RAM) so its size shouldn't bother you too much.
  17.  
  18. WHAT IS A BETA VERSION ?
  19. A piece of buggy, poorly tested software :-)
  20. Seriously, this is Felix's first release. I make no warranty about it : if it crashes your system, don't sue me. "Felix is provided as is, with no warranty, express or implied, regarding its fitness for any particular purpose", they say. Right ?
  21.  
  22. Please note that Felix's behavior depends very much on the Finder version. I have tested it with Finder versions 7.0 and 7.1. It could break under other versions (and the Finder would either use the normal application to open the document, or say 'application not found'). Let me know if you have problems, and tell me with which version.
  23.  
  24. KNOWN LIMITATIONS
  25.  
  26. Sadly enough, there are a lot of them. They are inherent to the way Felix works.
  27.  
  28. Ÿ Felix works only with documents that the Finder knows he can open. Which means that Felix doesn't work for files like INITs (the damn Finder knows, or thinks he knows, that they can't be opened), applications or control panels (the Finder opens them with... themselves), special files such as the System or the Finder, etc.
  29. Also, Felix doesn't work when the application you choose is located on a floppy disk (the technical reason is, there is no desktop database on a floppy). 
  30. To top it all, Felix doesn't work when the chosen app or the default app are already running.
  31. I am thinking about ways of fixing all this, but I have found no ideas until now. Any volunteers ?
  32.  
  33. Ÿ Felix gives bizarre results if you hold down the control key while double clicking on several files with different types.
  34. [For those who want to know : if you hold the Control key down long enough, you will be prompted for an application as many times as there are different document types in your selection (logical, but annoying). And, if you select twice the same app, it won't work the second time because the app will be already open].
  35. The best thing to do is not to use Felix with several document types at once.
  36.  
  37. KNOWN BUGS
  38.  
  39. • DON'T HOLD DOWN THE CONTROL KEY WHILE REBUILDING THE DESKTOP. While rebuilding the desktop, the Finder does things that "look like" opening a file to Felix, which may cause Felix to pop up his dialog during the rebuilding operation and possibly destroy the desktop.
  40.  
  41. Felix is rather unobtrusive (it patches only one seldom used trap, namely _FSDispatch, selector $27, for those who want to know). Init conflicts should be rare.
  42.  
  43. DISTRIBUTION RESTRICTIONS
  44. This piece of code is freeware. Which means, you can use and distribute it freely as long as this documentation file stays with it. It is not public domain, though. I retain all rights on the software, which stays my property. If you want to look at the source code, drop me a note and I will send it to you.
  45.  
  46. THE AUTHOR
  47. (hey, that's me)
  48.  
  49. Don't hesitate to e-mail me for suggestions or bug reports, or just to tell me what you think of Felix. I will do my best to listen to you (but remember, this is a hack, not a real product. If there are too many bugs, I'll drop it).
  50. My Internet address is :
  51.             pottier@clipper.ens.fr
  52.  
  53. You can also send me regular mail at :
  54.  
  55.             François Pottier
  56.             4 rue Colette
  57.             94210 LA VARENNE
  58.             FRANCE
  59.  
  60. Postcards are welcome :-)
  61.  
  62. ACKNOWLEDGEMENTS
  63. Thanks to :
  64.         James W. Walker for the ShowIcon7 code
  65.         Jon Wätte for an INIT skeleton
  66.         Dave Schutz, from whom I stole the 'Felix' icon
  67.  
  68. Enjoy!